package org.alex.sample.dao.Impl;

import java.util.Iterator;
import java.util.List;

import org.alex.sample.dao.ExamTestTypeDAO;
import org.alex.sample.model.ExamTestType;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

@Repository
@Transactional
public class ExamTestTypeDAOImpl extends BaseHibernateDAO<ExamTestType> implements ExamTestTypeDAO {

	@Override
	public List<ExamTestType> findAllExamTestType() throws Exception {
		String hql = "FROM ExamTestType";
		List<ExamTestType> examTestTypeList = this.find(hql);
		return examTestTypeList;
	}
	
	@Override
	public Iterator<ExamTestType> iterate(String queryString, Object[] values) {
		// TODO Auto-generated method stub
		return null;
	}

}
